home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / March 96 / Re Root Part.1 < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  1.1 KB  |  [TEXT/ttxt]

  1. Subject:     Re: Root Part
  2. Sent:        3/12/96 4:37 PM
  3. Received:    3/12/96 4:52 PM
  4. From:        lamiraux@apple.com
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >Is there anyway to deterime if your part is the root part or not at part
  9. >initialization time? (I would like to register different presentations
  10. >based on being the root part or not.  I know I can determine this once I
  11. >have a frame, but that is too late).
  12. >
  13. >Thanks,
  14. >
  15. >Karl Jepsen
  16. >kjepsen@softsolutions.com
  17. >
  18. >
  19.  
  20. I think that if a part really needed to know if it was the root part of a 
  21. document, it would be possible for it to determine this by doing 
  22. something like the ODAcquireRootPartOfDraft routine in DocUtils.h (in the 
  23. OpenDoc utilities) does and comparing the result to their part wrapper.
  24.  
  25. _troy
  26.  
  27. .....................................................................
  28.  Troy Gaul                                            tgaul@apple.com
  29.  Apple Computer, Inc.                    OpenDoc Added Value Products
  30. ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  31.